﻿using System;

namespace www.Admin
{
    public partial class Admin : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["AdminSuccess"] == null || Convert.ToBoolean(Session["AdminSuccess"]) == false || Convert.ToInt32(Session["role"]) <= 0)
                Response.Redirect("LoginAdmin.aspx");
        }
    }
}